<?php

namespace app\api\model\tieba;
use app\api\model\Account;
use app\api\model\BaseModel;

class User extends BaseModel
{
    protected $table = 'tieba_list';
    protected $deleteTime = 'delete_time';
    protected $autoWriteTimestamp = 'datetime';


    public function account(){
        return $this->hasOne(Account::class,'app_id','app_id')->field('app_id,cookie');
    }
}
